﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PhanMemDoVui.BusinessLogic;

namespace PhanMemDoVui
{
    public partial class frmScore : Form
    {
        private ScoreBUS grid = new ScoreBUS();
        public frmScore()
        {
            InitializeComponent();
        }

        private void scoresList_Load(object sender, EventArgs e)
        {
            gridScore.DataSource = grid.LietKeDiemThi();

        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
        }

        private void btn_back_Click(object sender, EventArgs e)
        {
            frmWelcome welcome = new frmWelcome();
            this.Hide();
            welcome.Show();
        }

        private void frmScore_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

    }
}
